Compiling 64 bit sample in 64 bit OS.
Firstly register 32 bit COM, then register 64 bit COM.